Optimal. Leaf size=55 \[ -\frac {\left (b^2-4 a c\right ) \sqrt {b d+2 c d x}}{4 c^2 d}+\frac {(b d+2 c d x)^{5/2}}{20 c^2 d^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 55, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.042, Rules used = {697}
\begin {gather*} \frac {(b d+2 c d x)^{5/2}}{20 c^2 d^3}-\frac {\left (b^2-4 a c\right ) \sqrt {b d+2 c d x}}{4 c^2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 697
Rubi steps
\begin {align*} \int \frac {a+b x+c x^2}{\sqrt {b d+2 c d x}} \, dx &=\int \left (\frac {-b^2+4 a c}{4 c \sqrt {b d+2 c d x}}+\frac {(b d+2 c d x)^{3/2}}{4 c d^2}\right ) \, dx\\ &=-\frac {\left (b^2-4 a c\right ) \sqrt {b d+2 c d x}}{4 c^2 d}+\frac {(b d+2 c d x)^{5/2}}{20 c^2 d^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 43, normalized size = 0.78 \begin {gather*} \frac {\sqrt {d (b+2 c x)} \left (-b^2+b c x+c \left (5 a+c x^2\right )\right )}{5 c^2 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.44, size = 60, normalized size = 1.09
method | result | size |
trager | \(\frac {\left (c^{2} x^{2}+b c x +5 a c -b^{2}\right ) \sqrt {2 c d x +b d}}{5 d \,c^{2}}\) | \(41\) |
gosper | \(\frac {\left (2 c x +b \right ) \left (c^{2} x^{2}+b c x +5 a c -b^{2}\right )}{5 c^{2} \sqrt {2 c d x +b d}}\) | \(44\) |
derivativedivides | \(\frac {4 a c \,d^{2} \sqrt {2 c d x +b d}-b^{2} d^{2} \sqrt {2 c d x +b d}+\frac {\left (2 c d x +b d \right )^{\frac {5}{2}}}{5}}{4 c^{2} d^{3}}\) | \(60\) |
default | \(\frac {4 a c \,d^{2} \sqrt {2 c d x +b d}-b^{2} d^{2} \sqrt {2 c d x +b d}+\frac {\left (2 c d x +b d \right )^{\frac {5}{2}}}{5}}{4 c^{2} d^{3}}\) | \(60\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 116 vs.
\(2 (47) = 94\).
time = 0.26, size = 116, normalized size = 2.11 \begin {gather*} \frac {60 \, \sqrt {2 \, c d x + b d} a - \frac {10 \, {\left (3 \, \sqrt {2 \, c d x + b d} b d - {\left (2 \, c d x + b d\right )}^{\frac {3}{2}}\right )} b}{c d} + \frac {15 \, \sqrt {2 \, c d x + b d} b^{2} d^{2} - 10 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b d + 3 \, {\left (2 \, c d x + b d\right )}^{\frac {5}{2}}}{c d^{2}}}{60 \, c d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.70, size = 40, normalized size = 0.73 \begin {gather*} \frac {{\left (c^{2} x^{2} + b c x - b^{2} + 5 \, a c\right )} \sqrt {2 \, c d x + b d}}{5 \, c^{2} d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 258 vs.
\(2 (48) = 96\).
time = 4.77, size = 258, normalized size = 4.69 \begin {gather*} \begin {cases} \frac {- \frac {a b}{\sqrt {b d + 2 c d x}} - \frac {a \left (- \frac {b d}{\sqrt {b d + 2 c d x}} - \sqrt {b d + 2 c d x}\right )}{d} - \frac {b^{2} \left (- \frac {b d}{\sqrt {b d + 2 c d x}} - \sqrt {b d + 2 c d x}\right )}{2 c d} - \frac {3 b \left (\frac {b^{2} d^{2}}{\sqrt {b d + 2 c d x}} + 2 b d \sqrt {b d + 2 c d x} - \frac {\left (b d + 2 c d x\right )^{\frac {3}{2}}}{3}\right )}{4 c d^{2}} - \frac {- \frac {b^{3} d^{3}}{\sqrt {b d + 2 c d x}} - 3 b^{2} d^{2} \sqrt {b d + 2 c d x} + b d \left (b d + 2 c d x\right )^{\frac {3}{2}} - \frac {\left (b d + 2 c d x\right )^{\frac {5}{2}}}{5}}{4 c d^{3}}}{c} & \text {for}\: c \neq 0 \\\frac {a x + \frac {b x^{2}}{2}}{\sqrt {b d}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 116 vs.
\(2 (47) = 94\).
time = 1.94, size = 116, normalized size = 2.11 \begin {gather*} \frac {60 \, \sqrt {2 \, c d x + b d} a - \frac {10 \, {\left (3 \, \sqrt {2 \, c d x + b d} b d - {\left (2 \, c d x + b d\right )}^{\frac {3}{2}}\right )} b}{c d} + \frac {15 \, \sqrt {2 \, c d x + b d} b^{2} d^{2} - 10 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b d + 3 \, {\left (2 \, c d x + b d\right )}^{\frac {5}{2}}}{c d^{2}}}{60 \, c d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 37, normalized size = 0.67 \begin {gather*} \frac {\sqrt {b\,d+2\,c\,d\,x}\,\left (20\,a\,c+{\left (b+2\,c\,x\right )}^2-5\,b^2\right )}{20\,c^2\,d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________